//
//  CircularProgressView.h
//  CircularProgressView
//

#import <UIKit/UIKit.h>
#import <AVFoundation/AVFoundation.h>

//@protocol CircularProgressViewDelegate <NSObject>
//
//@optional
//
//- (void)updateProgressViewWithPlayer:(AVAudioPlayer *)player;
//- (void)playerDidFinishPlaying;
//
//@end

@interface CircularProgressView : UIView
@property (assign, nonatomic) float progress;
@property (nonatomic) UIColor *backColor;
@property (nonatomic) UIColor *progressColor;
@property (copy, nonatomic) NSString *audioPath;
@property (assign, nonatomic) CGFloat lineWidth;
@property (assign, nonatomic) NSTimeInterval duration;
@property (assign, nonatomic) BOOL playOrPauseButtonIsPlaying;
//@property (assign, nonatomic) id <CircularProgressViewDelegate> delegate;

- (id)initWithFrame:(CGRect)frame
          backColor:(UIColor *)backColor
      progressColor:(UIColor *)progressColor
          lineWidth:(CGFloat)lineWidth
          ;



@end